package com.neo.debade.base.exception;

public class BaseException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private String code;
	
    public BaseException() {
    }

    public BaseException(String code) {
    	this.code = code;
    }
    
    public BaseException(String code, String message) {
    	super(message);
    	this.code = code;
    }

    public BaseException(Throwable cause) {
        super(cause);
    }

    public BaseException(String code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }

	public String getCode() {
		return code;
	}

}
